<form class="layui-form layui-box modal-form-box" action="{url('Cart/editActive')}" data-auto="true" method="post">
    <div class="layui-form-item">

        <div class="layui-form-item">
            <label class="layui-form-label">赠送金额（单位元）</label>
            <div class="layui-input-block">
                <input type="text" name="gift_amount" value='{$list.gift_amount|fenToyuan}' class="layui-input">
            </div>
        </div>

        <div class="hr-line-dashed"></div>

        <div class="layui-form-item">
            <label class="layui-form-label">单个用户最多绑卡次数（赠送次数）</label>
            <div class="layui-input-block">
                <input type="text" name="max_count" value='{$list.max_count}'   class="layui-input">
            </div>
        </div>
        <div class="layui-form-item text-center">
            <input type='hidden' value='{$list.id}' name='id'>
            <button class="layui-btn" id="submit" type='submit'>保存数据</button>
            <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
        </div>

</form>

